export type LocaleType = keyof typeof localeMap;

export const localeMap = {
  zh_CN: 'zh_CN',
  en_US: 'en_US',
  th_TH: 'th_TH'
} as const

export const localeList = [
  {
    lang: localeMap.en_US,
    label: 'English',
    icon: '🇺🇸',
    title: 'Language',
    api: import.meta.env.VITE_BASE_API_URL_EN_US
  },
  {
    lang: localeMap.zh_CN,
    label: '简体中文',
    icon: '🇨🇳',
    title: '语言',
    api: import.meta.env.VITE_BASE_API_URL_CH_EN
  },
  {
    lang: localeMap.th_TH,
    label: 'ภาษาไทย',
    icon: '🇹🇭',
    title: 'ภาษา',
    api: import.meta.env.VITE_BASE_API_URL_TH_TH
  }
] as const
